package Day07;

public class Dogs extends Animal implements  swim {
    public Dogs(String name, String age) {
        super(name, age);
    }

    public Dogs() {
    }


    @Override
    public void eat() {
        System.out.println("狗吃骨头");
    }

    @Override
    public void swim() {
        System.out.println("狗刨");
    }
}
